import requests
from bs4 import BeautifulSoup
url = 'http://www.dapenti.com/blog/index.asp'
res = requests.get(url)
res.encoding = 'gb2312'
soup = BeautifulSoup(res.text,'html.parser')
for news in soup.select('li'):
	if len(news.select('a'))>0:
		title = news.select('a')[0].text
		href =  'http://www.dapenti.com/blog/'+news.select('a')[0]['href']
		print title,href